export interface IAMap {
    setZoomAndCenter: (zoom: any, center: any) => void;
    add: (data: any) => void;
    getCenter: () => any;
    setFitView: (data?: any[]) => void;
    remove: (t: any) => void;
}

export interface IAMapRef {
    map: () => IAMap,
}